package com.shzu.mapper;

import com.shzu.pojo.MajorInfo;
import com.shzu.pojo.MajorInfoExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface MajorInfoMapper {
    int countByExample(MajorInfoExample example);

    int deleteByExample(MajorInfoExample example);

    int deleteByPrimaryKey(String mid);

    int insert(MajorInfo record);

    int insertSelective(MajorInfo record);

    List<MajorInfo> selectByExample(MajorInfoExample example);

    MajorInfo selectByPrimaryKey(String mid);

    int updateByExampleSelective(@Param("record") MajorInfo record, @Param("example") MajorInfoExample example);

    int updateByExample(@Param("record") MajorInfo record, @Param("example") MajorInfoExample example);

    int updateByPrimaryKeySelective(MajorInfo record);

    int updateByPrimaryKey(MajorInfo record);
}